
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module irisftp</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>irisftp</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/cygdrive/d/[code]/iris-ftp/irisftp.py">/cygdrive/d/[code]/iris-ftp/irisftp.py</a></font></td></tr></table>
    <p><tt>Command&nbsp;line&nbsp;based&nbsp;FTP&nbsp;client</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="cmd.html">cmd</a><br>
<a href="os.html">os</a><br>
</td><td width="25%" valign=top><a href="paramiko.html">paramiko</a><br>
<a href="re.html">re</a><br>
</td><td width="25%" valign=top><a href="sys.html">sys</a><br>
<a href="time.html">time</a><br>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="cmd.html#Cmd">cmd.Cmd</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="irisftp.html#FTPCommandLine">FTPCommandLine</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="irisftp.html#CommandNotFound">CommandNotFound</a>
</font></dt><dt><font face="helvetica, arial"><a href="irisftp.html#ParserException">ParserException</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="irisftp.html#FTPFileParser">FTPFileParser</a>
</font></dt></dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="CommandNotFound">class <strong>CommandNotFound</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>No&nbsp;connection&nbsp;present.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="irisftp.html#CommandNotFound">CommandNotFound</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="CommandNotFound-__init__"><strong>__init__</strong></a>(self, msg)</dt></dl>

<dl><dt><a name="CommandNotFound-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object at 0x6cb86ab0&gt;<dd><tt>T.<a href="#CommandNotFound-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>

<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="CommandNotFound-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#CommandNotFound-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="CommandNotFound-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#CommandNotFound-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="CommandNotFound-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#CommandNotFound-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="CommandNotFound-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>

<dl><dt><a name="CommandNotFound-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#CommandNotFound-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="CommandNotFound-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#CommandNotFound-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>

<dl><dt><a name="CommandNotFound-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>

<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
<dd><tt>exception&nbsp;message</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="FTPCommandLine">class <strong>FTPCommandLine</strong></a>(<a href="cmd.html#Cmd">cmd.Cmd</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>CommandLine&nbsp;class.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="FTPCommandLine-__init__"><strong>__init__</strong></a>(self, prompt<font color="#909090">='&gt; '</font>, ftpOptions<font color="#909090">=None</font>, sftp<font color="#909090">=False</font>, verbose<font color="#909090">=False</font>)</dt><dd><tt>CommandLine&nbsp;constructor.<br>
&nbsp;<br>
Arguments:<br>
prompt&nbsp;--&nbsp;user&nbsp;prompt<br>
ftpOptions&nbsp;--&nbsp;dictionary&nbsp;with&nbsp;ftp&nbsp;options</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-default"><strong>default</strong></a>(self, line)</dt><dd><tt>Function&nbsp;for&nbsp;unregocnized&nbsp;commands.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-do_cd"><strong>do_cd</strong></a>(self, line)</dt><dd><tt>Change&nbsp;current&nbsp;remote&nbsp;directory.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-do_connect"><strong>do_connect</strong></a>(self, line)</dt><dd><tt>Connect&nbsp;to&nbsp;the&nbsp;ftp&nbsp;server,&nbsp;return&nbsp;welcome&nbsp;message.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-do_del"><strong>do_del</strong></a>(self, line)</dt><dd><tt>Remove&nbsp;remote&nbsp;file.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-do_disconnect"><strong>do_disconnect</strong></a>(self, line)</dt><dd><tt>Disconnect&nbsp;from&nbsp;ftp&nbsp;server.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-do_exit"><strong>do_exit</strong></a>(self, line)</dt><dd><tt>Quit&nbsp;IrisFTP.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-do_get"><strong>do_get</strong></a>(self, line)</dt><dd><tt>Download&nbsp;file&nbsp;from&nbsp;remote&nbsp;server.<br>
&nbsp;<br>
Syntax:&nbsp;get&nbsp;[--force]&nbsp;&lt;remotefile&gt;&nbsp;[localfile]</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-do_getdir"><strong>do_getdir</strong></a>(self, line)</dt><dd><tt>Download&nbsp;directory&nbsp;to&nbsp;local&nbsp;server.<br>
&nbsp;<br>
Syntax:&nbsp;getdir&nbsp;[--force]&nbsp;[--recursive]&nbsp;&lt;remotedir&gt;&nbsp;[locadir]</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-do_help"><strong>do_help</strong></a>(self, args)</dt><dd><tt>Get&nbsp;help&nbsp;on&nbsp;commands.<br>
&nbsp;<br>
'help'&nbsp;or&nbsp;'?'&nbsp;without&nbsp;arguments&nbsp;prints&nbsp;list&nbsp;of&nbsp;commands<br>
'help/?&nbsp;&lt;command&gt;'&nbsp;prints&nbsp;help&nbsp;on&nbsp;&lt;command&gt;</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-do_info"><strong>do_info</strong></a>(self, line)</dt><dd><tt>Print&nbsp;information&nbsp;about&nbsp;current&nbsp;ftp&nbsp;session.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-do_l_cd"><strong>do_l_cd</strong></a>(self, line)</dt><dd><tt>Change&nbsp;current&nbsp;local&nbsp;directory.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-do_l_del"><strong>do_l_del</strong></a>(self, line)</dt><dd><tt>Remove&nbsp;local&nbsp;file.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-do_l_ls"><strong>do_l_ls</strong></a>(self, line)</dt><dd><tt>List&nbsp;local&nbsp;directory&nbsp;content.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-do_l_pwd"><strong>do_l_pwd</strong></a>(self, line)</dt><dd><tt>Print&nbsp;current&nbsp;local&nbsp;directory.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-do_ls"><strong>do_ls</strong></a>(self, line)</dt><dd><tt>List&nbsp;remote&nbsp;directory&nbsp;content.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-do_put"><strong>do_put</strong></a>(self, line)</dt><dd><tt>Upload&nbsp;file&nbsp;to&nbsp;remote&nbsp;server.<br>
&nbsp;<br>
Syntax:&nbsp;put&nbsp;[--force]&nbsp;&lt;localfile&gt;&nbsp;[remotefile]</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-do_putdir"><strong>do_putdir</strong></a>(self, line)</dt><dd><tt>Upload&nbsp;directory&nbsp;to&nbsp;remote&nbsp;server.<br>
&nbsp;<br>
Syntax:&nbsp;getdir&nbsp;[--force]&nbsp;[--recursive]&nbsp;&lt;localdir&gt;&nbsp;[remotedir]</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-do_pwd"><strong>do_pwd</strong></a>(self, line)</dt><dd><tt>Print&nbsp;current&nbsp;remote&nbsp;directory.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-do_quit"><strong>do_quit</strong></a>(self, line)</dt><dd><tt>Quit&nbsp;IrisFTP.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-do_rmdir"><strong>do_rmdir</strong></a>(self, line)</dt><dd><tt>Delete&nbsp;directory&nbsp;from&nbsp;remote&nbsp;server.<br>
&nbsp;<br>
Syntax:&nbsp;rmdir&nbsp;&lt;remotedir&gt;</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-do_set"><strong>do_set</strong></a>(self, line)</dt><dd><tt>Set&nbsp;localvalue&nbsp;of&nbsp;the&nbsp;shell.&nbsp;Syntax&nbsp;'set&nbsp;&lt;name&gt;&nbsp;&lt;value&gt;'.</tt></dd></dl>

<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>verbose</strong> = False</dl>

<hr>
Methods inherited from <a href="cmd.html#Cmd">cmd.Cmd</a>:<br>
<dl><dt><a name="FTPCommandLine-cmdloop"><strong>cmdloop</strong></a>(self, intro<font color="#909090">=None</font>)</dt><dd><tt>Repeatedly&nbsp;issue&nbsp;a&nbsp;prompt,&nbsp;accept&nbsp;input,&nbsp;parse&nbsp;an&nbsp;initial&nbsp;prefix<br>
off&nbsp;the&nbsp;received&nbsp;input,&nbsp;and&nbsp;dispatch&nbsp;to&nbsp;action&nbsp;methods,&nbsp;passing&nbsp;them<br>
the&nbsp;remainder&nbsp;of&nbsp;the&nbsp;line&nbsp;as&nbsp;argument.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-columnize"><strong>columnize</strong></a>(self, list, displaywidth<font color="#909090">=80</font>)</dt><dd><tt>Display&nbsp;a&nbsp;list&nbsp;of&nbsp;strings&nbsp;as&nbsp;a&nbsp;compact&nbsp;set&nbsp;of&nbsp;columns.<br>
&nbsp;<br>
Each&nbsp;column&nbsp;is&nbsp;only&nbsp;as&nbsp;wide&nbsp;as&nbsp;necessary.<br>
Columns&nbsp;are&nbsp;separated&nbsp;by&nbsp;two&nbsp;spaces&nbsp;(one&nbsp;was&nbsp;not&nbsp;legible&nbsp;enough).</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-complete"><strong>complete</strong></a>(self, text, state)</dt><dd><tt>Return&nbsp;the&nbsp;next&nbsp;possible&nbsp;completion&nbsp;for&nbsp;'text'.<br>
&nbsp;<br>
If&nbsp;a&nbsp;command&nbsp;has&nbsp;not&nbsp;been&nbsp;entered,&nbsp;then&nbsp;complete&nbsp;against&nbsp;command&nbsp;list.<br>
Otherwise&nbsp;try&nbsp;to&nbsp;call&nbsp;complete_&lt;command&gt;&nbsp;to&nbsp;get&nbsp;list&nbsp;of&nbsp;completions.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-complete_help"><strong>complete_help</strong></a>(self, *args)</dt></dl>

<dl><dt><a name="FTPCommandLine-completedefault"><strong>completedefault</strong></a>(self, *ignored)</dt><dd><tt>Method&nbsp;called&nbsp;to&nbsp;complete&nbsp;an&nbsp;input&nbsp;line&nbsp;when&nbsp;no&nbsp;command-specific<br>
complete_*()&nbsp;method&nbsp;is&nbsp;available.<br>
&nbsp;<br>
By&nbsp;default,&nbsp;it&nbsp;returns&nbsp;an&nbsp;empty&nbsp;list.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-completenames"><strong>completenames</strong></a>(self, text, *ignored)</dt></dl>

<dl><dt><a name="FTPCommandLine-emptyline"><strong>emptyline</strong></a>(self)</dt><dd><tt>Called&nbsp;when&nbsp;an&nbsp;empty&nbsp;line&nbsp;is&nbsp;entered&nbsp;in&nbsp;response&nbsp;to&nbsp;the&nbsp;prompt.<br>
&nbsp;<br>
If&nbsp;this&nbsp;method&nbsp;is&nbsp;not&nbsp;overridden,&nbsp;it&nbsp;repeats&nbsp;the&nbsp;last&nbsp;nonempty<br>
command&nbsp;entered.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-get_names"><strong>get_names</strong></a>(self)</dt></dl>

<dl><dt><a name="FTPCommandLine-onecmd"><strong>onecmd</strong></a>(self, line)</dt><dd><tt>Interpret&nbsp;the&nbsp;argument&nbsp;as&nbsp;though&nbsp;it&nbsp;had&nbsp;been&nbsp;typed&nbsp;in&nbsp;response<br>
to&nbsp;the&nbsp;prompt.<br>
&nbsp;<br>
This&nbsp;may&nbsp;be&nbsp;overridden,&nbsp;but&nbsp;should&nbsp;not&nbsp;normally&nbsp;need&nbsp;to&nbsp;be;<br>
see&nbsp;the&nbsp;<a href="#FTPCommandLine-precmd">precmd</a>()&nbsp;and&nbsp;<a href="#FTPCommandLine-postcmd">postcmd</a>()&nbsp;methods&nbsp;for&nbsp;useful&nbsp;execution&nbsp;hooks.<br>
The&nbsp;return&nbsp;value&nbsp;is&nbsp;a&nbsp;flag&nbsp;indicating&nbsp;whether&nbsp;interpretation&nbsp;of<br>
commands&nbsp;by&nbsp;the&nbsp;interpreter&nbsp;should&nbsp;stop.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-parseline"><strong>parseline</strong></a>(self, line)</dt><dd><tt>Parse&nbsp;the&nbsp;line&nbsp;into&nbsp;a&nbsp;command&nbsp;name&nbsp;and&nbsp;a&nbsp;string&nbsp;containing<br>
the&nbsp;arguments.&nbsp;&nbsp;Returns&nbsp;a&nbsp;tuple&nbsp;containing&nbsp;(command,&nbsp;args,&nbsp;line).<br>
'command'&nbsp;and&nbsp;'args'&nbsp;may&nbsp;be&nbsp;None&nbsp;if&nbsp;the&nbsp;line&nbsp;couldn't&nbsp;be&nbsp;parsed.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-postcmd"><strong>postcmd</strong></a>(self, stop, line)</dt><dd><tt>Hook&nbsp;method&nbsp;executed&nbsp;just&nbsp;after&nbsp;a&nbsp;command&nbsp;dispatch&nbsp;is&nbsp;finished.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-postloop"><strong>postloop</strong></a>(self)</dt><dd><tt>Hook&nbsp;method&nbsp;executed&nbsp;once&nbsp;when&nbsp;the&nbsp;<a href="#FTPCommandLine-cmdloop">cmdloop</a>()&nbsp;method&nbsp;is&nbsp;about&nbsp;to<br>
return.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-precmd"><strong>precmd</strong></a>(self, line)</dt><dd><tt>Hook&nbsp;method&nbsp;executed&nbsp;just&nbsp;before&nbsp;the&nbsp;command&nbsp;line&nbsp;is<br>
interpreted,&nbsp;but&nbsp;after&nbsp;the&nbsp;input&nbsp;prompt&nbsp;is&nbsp;generated&nbsp;and&nbsp;issued.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-preloop"><strong>preloop</strong></a>(self)</dt><dd><tt>Hook&nbsp;method&nbsp;executed&nbsp;once&nbsp;when&nbsp;the&nbsp;<a href="#FTPCommandLine-cmdloop">cmdloop</a>()&nbsp;method&nbsp;is&nbsp;called.</tt></dd></dl>

<dl><dt><a name="FTPCommandLine-print_topics"><strong>print_topics</strong></a>(self, header, cmds, cmdlen, maxcol)</dt></dl>

<hr>
Data and other attributes inherited from <a href="cmd.html#Cmd">cmd.Cmd</a>:<br>
<dl><dt><strong>doc_header</strong> = 'Documented commands (type help &lt;topic&gt;):'</dl>

<dl><dt><strong>doc_leader</strong> = ''</dl>

<dl><dt><strong>identchars</strong> = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_'</dl>

<dl><dt><strong>intro</strong> = None</dl>

<dl><dt><strong>lastcmd</strong> = ''</dl>

<dl><dt><strong>misc_header</strong> = 'Miscellaneous help topics:'</dl>

<dl><dt><strong>nohelp</strong> = '*** No help on %s'</dl>

<dl><dt><strong>prompt</strong> = '(Cmd) '</dl>

<dl><dt><strong>ruler</strong> = '='</dl>

<dl><dt><strong>undoc_header</strong> = 'Undocumented commands:'</dl>

<dl><dt><strong>use_rawinput</strong> = 1</dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="FTPFileParser">class <strong>FTPFileParser</strong></a></font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="FTPFileParser-__init__"><strong>__init__</strong></a>(self, filename<font color="#909090">=None</font>, sftp<font color="#909090">=None</font>, verbose<font color="#909090">=False</font>)</dt></dl>

<dl><dt><a name="FTPFileParser-evaluate"><strong>evaluate</strong></a>(self, expr)</dt><dd><tt>Evalute&nbsp;an&nbsp;expression&nbsp;as&nbsp;true&nbsp;or&nbsp;false.<br>
&nbsp;<br>
Arguments:<br>
expr&nbsp;-&nbsp;expression&nbsp;to&nbsp;evalute</tt></dd></dl>

<dl><dt><a name="FTPFileParser-parse"><strong>parse</strong></a>(self)</dt></dl>

<dl><dt><a name="FTPFileParser-parseCommand"><strong>parseCommand</strong></a>(self, line)</dt><dd><tt>Parse&nbsp;and&nbsp;execute&nbsp;a&nbsp;command&nbsp;line<br>
&nbsp;<br>
Arguments:<br>
line&nbsp;--&nbsp;line&nbsp;to&nbsp;parse</tt></dd></dl>

<dl><dt><a name="FTPFileParser-parseHeader"><strong>parseHeader</strong></a>(self, file)</dt><dd><tt>Parse&nbsp;header&nbsp;information&nbsp;from&nbsp;file<br>
&nbsp;<br>
Arguments:<br>
file&nbsp;--&nbsp;file&nbsp;object&nbsp;to&nbsp;parse</tt></dd></dl>

<dl><dt><a name="FTPFileParser-parseLine"><strong>parseLine</strong></a>(self, line)</dt><dd><tt>Parse&nbsp;a&nbsp;line,&nbsp;checking&nbsp;for&nbsp;further&nbsp;parsing.</tt></dd></dl>

<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>filename</strong> = None</dl>

<dl><dt><strong>ftp</strong> = None</dl>

<dl><dt><strong>lineCount</strong> = 0</dl>

<dl><dt><strong>skipBlock</strong> = []</dl>

<dl><dt><strong>verbose</strong> = False</dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="ParserException">class <strong>ParserException</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>No&nbsp;connection&nbsp;present.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="irisftp.html#ParserException">ParserException</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="ParserException-__init__"><strong>__init__</strong></a>(self, msg)</dt></dl>

<dl><dt><a name="ParserException-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object at 0x6cb86ab0&gt;<dd><tt>T.<a href="#ParserException-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>

<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="ParserException-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#ParserException-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="ParserException-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#ParserException-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="ParserException-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#ParserException-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="ParserException-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>

<dl><dt><a name="ParserException-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#ParserException-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="ParserException-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#ParserException-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>

<dl><dt><a name="ParserException-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>

<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
<dd><tt>exception&nbsp;message</tt></dd>
</dl>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
    
<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-main"><strong>main</strong></a>(argv<font color="#909090">=None</font>)</dt><dd><tt>Main&nbsp;function.</tt></dd></dl>
</td></tr></table>
</body></html>